<script>
    var isOpen = true;
    var opened = false;
    var finished = true;

    console.log(typeof isOpen); // boolean
    console.log(typeof opened); // boolean

</script>